package com.ops.memcache.core;

import java.io.Serializable;
import java.util.List;

/**
 * lenovo
 * 2017/5/10
 * untitled
 */
public interface ICache {
	void put(ICacheElement var1) throws Exception;

	void put(Serializable var1, Serializable var2) throws Exception;

	ICacheElement get(Serializable var1) throws Exception;

	boolean remove(Serializable var1) throws Exception;

	void removeAll() throws Exception;

	String getName() throws Exception;

	int getStatus() throws Exception;

	List getKeys() throws Exception;

	int getSize() throws Exception;

	long getHitCount() throws Exception;

	long getMissCount() throws Exception;
}
